package com.rf.richfitwheel.admin.sys.service;




import com.rf.richfitwheel.admin.sys.model.CodeDef;
import com.rf.richfitwheel.common.utils.PageUtils;
import com.rf.richfitwheel.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * Author bw
 * Date  2019-05-05
 */
public interface CodeDefService {

    public CodeDef get(String id);

    public List<CodeDef> findList(CodeDef codeDef);

    public List<CodeDef> findAllList();

    public R insert(CodeDef codeDef);

    public int insertBatch(List<CodeDef> codeDefs);

    public R update(CodeDef codeDef);

    public R delete(String[] ids);

    //查找分页列表
	public PageUtils queryPage(Map<String, Object> params);

}
